﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Airborne.ScrumPoker.Tests.ExtensionMethods
{
    [TestClass]
    public class ObjectExtensionTestFixture
    {
        [TestMethod]
        public void IsNullTest()
        {
            object instance = null;
            Assert.IsTrue(instance.IsNull());
            instance = new object();
            Assert.IsFalse(instance.IsNull());
        }

        [TestMethod]
        public void IsNotNullTest()
        {
            object instance = null;
            Assert.IsFalse(instance.IsNotNull());
            instance = new object();
            Assert.IsTrue(instance.IsNotNull());
        }
    }
}
